import Layout from "@/layout";

export default {
    path: "/config",
    alwaysShow: true,
    component: Layout,
    redirect: "config/dashboard",
    meta: {
        title: "基础配置",
        icon: "basic-config"
    },
    children: [
        {
            path: "dashboard",
            component: () => import("@/views/config/dashboard"),
            name: "CDashboard",
            meta: { title: "dashboard配置", noCache: false }
        },
        {
            path: "dataAuth",
            component: () => import("@/views/config/dataAuth"),
            name: "DataAuth",
            meta: { title: "数据权限配置", noCache: false }
        },
        {
            path: "editUser/:user_name",
            component: () => import("@/views/config/editUser"),
            name: "EditUser",
            meta: { title: "人员修改", noCache: false }
        },
    ]
};
